package com.woniu.darryringmall.front.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.darryringmall.front.entity.Goods;
import com.woniu.darryringmall.front.entity.History;
import com.woniu.darryringmall.front.entity.HistoryGoods;
import org.springframework.stereotype.Service;

import java.util.List;

public interface HistoryService extends IService<History> {

    void add(History history);

    void delete(int id);

    List<HistoryGoods> getHistoryByUserId(int userId);
}
